using UnityEngine;
using System.Collections;

public enum ePole { e_Positive = 0, e_Negative, e_Neutral } 
public class WallController : MonoBehaviour 
{
	public ePole m_ePolarity = ePole.e_Neutral;
	float m_fRadius = 3.0f;
	float m_fForce = 3.0f;
	// Use this for initialization
	void Start () 
	{
	
	}
	public ePole Polarity
	{
		get { return m_ePolarity; } 
		
	}
	public float Radius
	{
		get { return m_fRadius; } 
	}
	public float  Force
	{
		get { return m_fForce; }
	}
	// Update is called once per frame
	void Update () 
	{
	if(m_ePolarity == ePole.e_Positive)
			renderer.material.color = Color.red;
		else if(m_ePolarity == ePole.e_Negative)
			renderer.material.color = Color.black;
		else
			renderer.material.color = Color.grey;
	}
}
